<!DOCTYPE html>
<html>
<head lang="en">
    <%include ../base/include.ejs%>
</head>
<body>
<%include ../base/menu.ejs%>

    <div class="container ya-content">
        <div class="row">
            <ul class="ya-list">
                <%for(var idx in articles){
                    var article = articles[idx];
                %>
                <li>
                    <div class="col-md-8 ya-text-title">
                        <a href="http://<%=data.server%>/list/<%=article.tag%>" class="text-muted">
                            [<%=article.tag%>]</a>
                        <a href="http://<%=data.server%>/article/<%=article.id%>"><%=article.title%></a>
                    </div>
                    <div class="col-md-4 text-muted">
                        <span>
                            <span class="fa fa-clock-o ya-text-summer"></span>
                            <span><%=article.ctime%></span>
                        </span>
                        <span>
                            <span class="fa fa-eye ya-text-winter"></span>
                            <span><%=article.vtime%></span>
                        </span>
                    </div>
                </li>
                <%}%>
            </ul>
        </div>
    </div>
</body>
<script>
    $(document).ready(function (){
    });
</script>
</html>